package com.liyingtao.dao;

import com.liyingtao.bean.Admin;

public interface AdminMapper {
    /**
     * 添加管理员
     * @param admin
     * @return
     */
    int addAdmin(Admin admin);

    /**
     * 管理员登录
     * @param admin
     * @return
     */
    Admin adminLogin(Admin admin);
    Admin checkName(String adminName);
}
